package com.glory.dgcpcpda.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * FileName: CheckSheetEntity
 * Author: XJH
 * Date: 2020/8/29 16:57
 * Description:
 * History:
 */
public class CheckSheetEntity implements Serializable {
    private String EQUIPMENTID;
    private String LOCATION;
    private String EQUIPMENTTYPE;
    private String STATUS;
    private String STEPNAME;
    private String SHIFT;
    private String LOTID;
    private String PACKAGETYPE;
    private String CUSTOMERCODE;
    private String PARTNAME;
    private String SHEETTIME;
    private String SUBSTATE;
    private String EQPSUBSTATE;
    private String EQPSTATE;
    private String EQPCOMCLASS;
    private List<SheetInfoEntity> SHEETLIST;

    public String getEQPSUBSTATE() {
        return EQPSUBSTATE == null ? "" : EQPSUBSTATE;
    }

    public void setEQPSUBSTATE(String EQPSUBSTATE) {
        this.EQPSUBSTATE = EQPSUBSTATE;
    }

    public String getEQPSTATE() {
        return EQPSTATE == null ? "" : EQPSTATE;
    }

    public void setEQPSTATE(String EQPSTATE) {
        this.EQPSTATE = EQPSTATE;
    }

    public String getEQPCOMCLASS() {
        return EQPCOMCLASS == null ? "" : EQPCOMCLASS;
    }

    public void setEQPCOMCLASS(String EQPCOMCLASS) {
        this.EQPCOMCLASS = EQPCOMCLASS;
    }

    public String getSUBSTATE() {
        return SUBSTATE == null ? "" : SUBSTATE;
    }

    public void setSUBSTATE(String SUBSTATE) {
        this.SUBSTATE = SUBSTATE;
    }

    public String getSHEETTIME() {
        return SHEETTIME == null ? "" : SHEETTIME;
    }

    public void setSHEETTIME(String SHEETTIME) {
        this.SHEETTIME = SHEETTIME;
    }

    public String getEQUIPMENTID() {
        return EQUIPMENTID == null ? "" : EQUIPMENTID;
    }

    public void setEQUIPMENTID(String EQUIPMENTID) {
        this.EQUIPMENTID = EQUIPMENTID;
    }

    public String getLOCATION() {
        return LOCATION == null ? "" : LOCATION;
    }

    public void setLOCATION(String LOCATION) {
        this.LOCATION = LOCATION;
    }

    public String getEQUIPMENTTYPE() {
        return EQUIPMENTTYPE == null ? "" : EQUIPMENTTYPE;
    }

    public void setEQUIPMENTTYPE(String EQUIPMENTTYPE) {
        this.EQUIPMENTTYPE = EQUIPMENTTYPE;
    }

    public String getSTATUS() {
        return STATUS == null ? "" : STATUS;
    }

    public void setSTATUS(String STATUS) {
        this.STATUS = STATUS;
    }

    public String getSTEPNAME() {
        return STEPNAME == null ? "" : STEPNAME;
    }

    public void setSTEPNAME(String STEPNAME) {
        this.STEPNAME = STEPNAME;
    }

    public String getSHIFT() {
        if (SHIFT == null){
            return "";
        }else if (SHIFT.equals("DayShift")){
            return "白班";
        }else if (SHIFT.equals("NightShift")){
            return "夜班";
        }else {
            return SHIFT;
        }
    }

    public void setSHIFT(String SHIFT) {
        this.SHIFT = SHIFT;
    }

    public String getLOTID() {
        return LOTID == null ? "" : LOTID;
    }

    public void setLOTID(String LOTID) {
        this.LOTID = LOTID;
    }

    public String getPACKAGETYPE() {
        return PACKAGETYPE == null ? "" : PACKAGETYPE;
    }

    public void setPACKAGETYPE(String PACKAGETYPE) {
        this.PACKAGETYPE = PACKAGETYPE;
    }

    public String getCUSTOMERCODE() {
        return CUSTOMERCODE == null ? "" : CUSTOMERCODE;
    }

    public void setCUSTOMERCODE(String CUSTOMERCODE) {
        this.CUSTOMERCODE = CUSTOMERCODE;
    }

    public String getPARTNAME() {
        return PARTNAME == null ? "" : PARTNAME;
    }

    public void setPARTNAME(String PARTNAME) {
        this.PARTNAME = PARTNAME;
    }

    public List<SheetInfoEntity> getSHEETLIST() {
        if (SHEETLIST == null) {
            return new ArrayList<>();
        }
        return SHEETLIST;
    }

    public void setSHEETLIST(List<SheetInfoEntity> SHEETLIST) {
        this.SHEETLIST = SHEETLIST;
    }
}
